package net.zjitc.service;

import net.zjitc.pojo.User;

import java.util.List;

/**
 * Created by Administrator on 2017/11/9.
 */
public interface UserService {
    List<User> findAll();

    User findByUsername(String username);

    int save(User user);

    User findByCode(String code);

    int update(User user);
}
